﻿#pragma once

#include <QtWidgets/QMainWindow>
#include "../common/CommonListView.h"
#include "../common/CommonListView.h"
#include <QSize>
#include <QIcon>
#include "sdl/SDLRenderRGBWindow.h"
#include "sdl/SDLRenderYUVWindow.h"
#include "sdl/render/VideoRenderViewWindow.h"
#include "sdl/SDLRenderAVFrameWindow.h"

class SdlWindow : public QMainWindow
{
	Q_OBJECT

public:
	SdlWindow(QWidget* parent = nullptr);
	~SdlWindow();

public:
	void createListView();//创建一个ListView

private:
	CommonListView* listView;

	SDLRenderRGBWindow* sdlRenderRGBWindow = NULL;
	SDLRenderYUVWindow* sdlRenderYUVWindow = NULL;
	VideoRenderViewWindow* videoRenderViewWindow = NULL;
	SDLRenderAVFrameWindow* sdlRenderAVFrameWindow = NULL;

};
